<div class="modal fade" aria-labelledby="myModalLabel" aria-hidden="true" id="templateDetails" *ngIf="initService.init">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <!-- 模态框头部 -->
            <div class="modal-header">
                <h4 class="modal-title">模板详情 - {{ details.templateName }}</h4>
                <button type="button" class="close" data-dismiss="modal">&times;</button>
            </div>
            <!-- 模态框主体 -->
            <div class="modal-body">
                <div class="container">
                    <div class="input_div">
                        <label class="input_title">模板名称：</label>
                        <input class="input_inputStyle" name="templateName" disabled #name="ngModel" [ngModel]="details.templateName">
                    </div>
                    <div class="input_div">
                        <label class="input_title">是否启用：</label>
                        <select class="input_inputStyle" name="status" disabled #status="ngModel" [ngModel]="details.status">
                            <option value="0">启用</option>
                            <option value="-1">禁用</option>
                        </select>
                    </div>
                    <div class="input_div">
                        <div class="textarea_title">描述：</div>
                        <textarea class="textarea_textareaStyle" disabled name="description" #description="ngModel" [ngModel]="details.description"></textarea>
                    </div>
                </div>
            </div>
            <!-- 模态框底部 -->
            <div class="modal-footer" style="width:100%;">
                <button type="button" class="btn btn-default" data-dismiss="modal" (click)="initService._init()">关闭</button>
            </div>
        </div>
    </div>
  </div>